#!/bin/bash
ps | grep mongo | grep -v grep | cut -c 1-6 | xargs kill -9
ps | grep GameServer | grep -v grep | cut -c 1-6 | xargs kill -9
~/Applications/mongo/bin/mongod -dbpath ~/Applications/mongo/data/ --journal > mongolog &
java -jar GameServer.jar